from common.locate_by import By

class LocShelterList:

    loc_checkbox = {
        "loc_role": By.checkbox,
        "loc_name": "",
    }

    loc_add = {
        "loc_role": By.button,
        "loc_name": "新 增",
    }

    loc_delete = {
        "loc_role": By.button,
        "loc_name": "删 除",
    }

    loc_search = {
        "loc_role": By.button,
        "loc_name": "查 询",
    }

    loc_reset = {
        "loc_role": By.button,
        "loc_name": "重 置",
    }

    loc_detail = {
        "loc_role": By.button,
        "loc_name": "查 看",
    }

    loc_edit = {
        "loc_role": By.button,
        "loc_name": "编 辑",
    }

    loc_sure = {
        "page_role": By.dialog,
        "page_title": "提示",
        "loc_role": By.button,
        "loc_name": "确定",
    }

    loc_cancel = {
        "page_role": By.dialog,
        "page_title": "提示",
        "loc_role": By.button,
        "loc_name": "取消",
    }

    loc_close = {
        "page_role": By.dialog,
        "page_title": "提示",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_search_name = {
        "loc_role": By.textbox,
        "loc_name": "避难场所名称:"
    }
    loc_search_affiliated_unit = {
        "loc_role": By.textbox,
        "loc_name": "所属单位:",
    }

    loc_area_code = {
        "loc_role": By.columnheader,
        "loc_name": "行政区域:",
    }

    loc_shelter_id = {
        "loc_role": By.columnheader,
        "loc_name": "避难场所编码:",
    }

    loc_enterprise_id = {
        "loc_role": By.columnheader,
        "loc_name": "所属企业:",
    }

    loc_name = {
        "loc_role": By.columnheader,
        "loc_name": "避难场所名称:",
    }

    loc_shelter_level = {
        "loc_role": By.columnheader,
        "loc_name": "避难场所级别:",
    }

    loc_affiliated_unit = {
        "loc_role": By.columnheader,
        "loc_name": "所属单位:",
    }

    loc_address = {
        "loc_role": By.columnheader,
        "loc_name": "地址:",
    }

    loc_geom = {
        "loc_role": By.columnheader,
        "loc_name": "坐标信息:",
    }
    loc_geom_close = {
        "page_role": By.dialog,
        "page_title": "坐标信息",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_sum_num = {
        "loc_role": By.columnheader,
        "loc_name": "容纳人数:",
    }

    loc_floor_space = {
        "loc_role": By.columnheader,
        "loc_name": "有效避难面积:",
    }

    loc_linkman = {
        "loc_role": By.columnheader,
        "loc_name": "负责人:",
    }

    loc_longitude = {
        "loc_role": By.columnheader,
        "loc_name": "经度:",
    }

    loc_linkman_tel = {
        "loc_role": By.columnheader,
        "loc_name": "联系方式:",
    }

    loc_latitude = {
        "loc_role": By.columnheader,
        "loc_name": "纬度:",
    }

    loc_resident_position_id = {
        "loc_role": By.columnheader,
        "loc_name": "常驻位置:",
    }

    loc_resident_position_desc = {
        "loc_role": By.columnheader,
        "loc_name": "常驻位置描述:",
    }
